//
//  ZYCMenuSliderView.h
//  ZDSC
//
//  Created by ZDTX on 2021/7/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol ZYCMenuSliderViewDelegate <NSObject>

- (void)menuSilderClickLeft;
- (void)menuSilderClickRight;

@end

@interface ZYCMenuSliderView : UIView

@property (nonatomic, strong) NSArray <NSDictionary *>*titles;;

- (instancetype)initWithFrame:(CGRect)frame titles:(NSArray <NSDictionary *>*)titles;

- (instancetype)initWithFrame:(CGRect)frame title:(NSArray <NSString *>*)title;

@property (nonatomic, weak) id<ZYCMenuSliderViewDelegate> delegate;

@property (nonatomic, copy) NSString *leftStr;
@property (nonatomic, copy) NSString *rightStr;
@end

NS_ASSUME_NONNULL_END
